package com.haoan.index.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haoan.common.annotation.Excel;
import com.haoan.index.base.BaseEntity;

/**
 * 景区对象 web_place
 *
 * @author autoGen
 * @date 2025-01-03
 */
@Data
@Schema(description = "景区")
@TableName("web_place")
public class Place extends BaseEntity implements Serializable
        {
private static final long serialVersionUID=1L;

    /** $column.columnComment */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "PK_web_place")
    @ApiParam(name = "id",value = "PK_web_place")
    private Long id;

    /** 景点名称 */
    @Schema(description = "景区-景点名称")
    @ApiParam(name = "name",value = "景区-景点名称")
    @Excel(name = "景点名称")
    @TableField(value = "`name`")
    private String name;

    /** 景区图片 */
    @Schema(description = "景区-景区图片")
    @ApiParam(name = "picture",value = "景区-景区图片")
    @Excel(name = "景区图片")
    @TableField(value = "`picture`")
    private String picture;

    /** 地区 */
    @Schema(description = "景区-地区")
    @ApiParam(name = "region",value = "景区-地区")
    @Excel(name = "地区")
    @TableField(value = "`region`")
    private String region;

    /** 票价 */
    @Schema(description = "景区-票价")
    @ApiParam(name = "price",value = "景区-票价")
    @Excel(name = "票价")
    @TableField(value = "`price`")
    private BigDecimal price;

    /** 景区等级 */
    @Schema(description = "景区-景区等级")
    @ApiParam(name = "grade",value = "景区-景区等级")
    @Excel(name = "景区等级")
    @TableField(value = "`grade`")
    private String grade;

    /** 详情 */
    @Schema(description = "景区-详情")
    @ApiParam(name = "detail",value = "景区-详情")
    @Excel(name = "详情")
    @TableField(value = "`detail`")
    private String detail;


    /** 创建时间 */
    @TableField(value = "`create_time`")
    private Date createTime;

    /** 创建人 */
    @TableField(value = "`create_by`", fill = FieldFill.INSERT)
    private String createBy;

    /** 修改时间 */
    @TableField(value = "`update_time`")
    private Date updateTime;

    /** 修改人 */
    @TableField(value = "`update_by`", fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    /** 有效标志1有效0无效(无效数据任何地方不可见) */
    @Schema(description = "景区-有效标志1有效0无效(无效数据任何地方不可见)")
    @ApiParam(name = "valiFlag",value = "景区-有效标志1有效0无效(无效数据任何地方不可见)")
    @Excel(name = "有效标志1有效0无效(无效数据任何地方不可见)")
    @TableField(value = "`vali_flag`")
    private Integer valiFlag;


}

